//-------------------------------------------------------------------------------------
function toggleLogBox()
	{
	if(logOpen == false)
		{
		logOpen = true;
		viewLogButton.innerHTML = "Hide Log";
		logBox.style.visibility = "visible";
		GM_setValue('logOpen', true);
		}
	else
		{
		logOpen = false;
		viewLogButton.innerHTML = "View Log";
		logBox.style.visibility = "hidden";
		GM_setValue('logOpen', false);
		}
	}